<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>贝塞尔曲线-元宝</title>
	</head>
	<body>
		<canvas id="curve"></canvas>
		<script type="text/javascript" src="js/particle.js"></script>
		<script type="text/javascript">
			DrawParticle({
				id:"curve",//id
				num:30,//粒子的数量
				time:50,
				r:3,
				fillStyle:"rgba(247, 198, 19, 1)",
				strokeStyle:"rgba(0, 0, 0, 0.5)",//线条的颜色
				particleType:"Yuanbao"
			});
		</script>
	</body>
</html>
